/*
* @Author: Administrator
* @Date:   2018-01-27 16:06:08
* @Last Modified by:   Administrator
* @Last Modified time: 2018-01-27 16:35:20
*/
import tabs from './tabs'

const tabTitle = (tab, titleString = '') => {
  const tb = tab === 'all' ? titleString : `${tabs[tab]}${titleString}`
  return tb
}

export default tabTitle
